package com.suke.czx.modules.wxadmin.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.suke.czx.modules.wxadmin.dao.DkUserRecordDao;
import com.suke.czx.modules.wxadmin.entity.DkUserRecordEntity;
import com.suke.czx.modules.wxadmin.service.DkUserRecordService;



@Service("dkUserRecordService")
public class DkUserRecordServiceImpl implements DkUserRecordService {
	@Autowired
	private DkUserRecordDao dkUserRecordDao;
	
	@Override
	public DkUserRecordEntity queryObject(Integer id){
		return dkUserRecordDao.queryObject(id);
	}
	
	@Override
	public List<DkUserRecordEntity> queryList(Map<String, Object> map){
		return dkUserRecordDao.queryList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return dkUserRecordDao.queryTotal(map);
	}
	
	@Override
	public void save(DkUserRecordEntity dkUserRecord){
		dkUserRecordDao.save(dkUserRecord);
	}
	
	@Override
	public void update(DkUserRecordEntity dkUserRecord){
		dkUserRecordDao.update(dkUserRecord);
	}
	
	@Override
	public void delete(Integer id){
		dkUserRecordDao.delete(id);
	}
	
	@Override
	public void deleteBatch(Integer[] ids){
		dkUserRecordDao.deleteBatch(ids);
	}

	@Override
	public List<DkUserRecordEntity> queryListByUserId(String user_id) {
		return dkUserRecordDao.queryListByUserId(user_id);
	}

	@Override
	public List<DkUserRecordEntity> queryListByRid(String rid) {
		return dkUserRecordDao.queryListByRid(rid);
	}

	@Override
	public DkUserRecordEntity queryByUserIdAndRid(Map<String, Object> parms) {
		return dkUserRecordDao.queryByUserIdAndRid(parms);
	}
	
}
